Preliminary Analysis with Maxfiltered and Preprocessed Data

Created AXL 10/10/23
Last edited AXL 10/10/23

This jupyter notebook contains some preliminary 'analyses'/visualisation of the COINS-MEG MEG data. The inputted data is the maxfiltered and preprocessed version. Note that this shows example outputs from subject 12, run 1 only.

Load packages and data

Laser Hit vs Miss Analysis

Defining and Processing Epochs

Visualising Evoked Potential for Laser Hits

First visualise ERFs for all channels, for both magnetometers and gradiometers.

Visualise ERFs for centroparietal channels only (magnetometers).

Visualising Evoked Potential for Laser Misses

First visualise ERFs for all channels, for both magnetometers and gradiometers.

Then visualise for only centroparietal channels (magnenometers).

Comparing Laser Hits vs Misses

First compare global field power for hits vs. misses; for both magnetometers and gradiometers.

Plot difference waveform for laser hits vs misses

First for all sensors...

Then for centroparietal magnetometers only.

Movement Keys (Left vs. Right) Analysis

Defining and Processing Epochs

Visualising Evoked Potentials for keyLeft

Visualising ERFs for centroparietal channels only (mag)

Visualising Evoked Potentials for keyRight

Visualising ERFs for centroparietal channels only (mag)

Comparing KeyLeft vs Right

First compare global field power for keyLeft vs. Right; for both magnetometers and gradiometers.